<div>
    <div class="row">
        <div class="col-md-2 " style="padding-right:0px;height: 95%; overflow-x: hidden; overflow-y: scroll;">
            <vc:create path="property/roomTreeDiv" callBackListener="roomCreateFee"></vc:create>
        </div>
        <div class="col-md-10">
            <div class="  white-bg">
                <div class="ibox ">
                    <div class="ibox-title">
                        <h5 class="flex justify-start">
                            {{roomCreateFeeInfo.roomName}}
                        </h5>
                        <div class="ibox-tools" style="top:10px;">

                            <button type="button" class="btn btn-white btn-sm"
                                v-if="vc.hasPrivilege('502022073096990007')" style="margin-left:10px"
                                v-on:click="_openFeeImportExcel()">
                                <i class="fa fa-download"></i>
                                <vc:i18n name="自定义模板" namespace="roomCreateFee"></vc:i18n>
                            </button>
                            <button type="button" class="btn btn-white btn-sm"
                                v-if="vc.hasPrivilege('502022073096990007')" style="margin-left:10px"
                                v-on:click="_openDoCreateRoomFee()">
                                <i class="fa fa-plus"></i>
                                <vc:i18n name="自定义导入" namespace="roomCreateFee"></vc:i18n>
                            </button>
                            <button type="button" class="btn btn-white btn-sm"
                                v-if="vc.hasPrivilege('502022073096990007')" style="margin-left:10px"
                                v-on:click="_toBatchCreateFee(null,true)">
                                <i class="fa fa-plus"></i>
                                <span>
                                    <vc:i18n name="批量创建" namespace="roomCreateFee"></vc:i18n>
                                </span>
                            </button>
                            <button type="button" class="btn btn-white btn-sm" style="margin-left:10px"
                                v-on:click="_downloadCollectionLetterOrder()">
                                <i class="fa fa-download"></i>
                                <span>
                                    <vc:i18n name="批量催缴单" namespace="roomCreateFee"></vc:i18n>
                                </span>
                            </button>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="row ">
                            <div class="col-sm-2">
                                <div class="form-group">
                                    <input type="text" :placeholder="vc.i18n('房屋编号,如1-1-1123','roomCreateFee')"
                                        v-model.trim="roomCreateFeeInfo.condition.roomNum"
                                        class=" form-control form-control-sm" @blur="listRoomInRoomCreateFee()">
                                    <vc:create path="property/inputSearchRoom"></vc:create>
                                </div>
                            </div>
                            <div class="col-sm-2">
                                <input type="text" :placeholder="vc.i18n('请填写业主名称','roomCreateFeeInfo')"
                                    @input="_inputRoomByOwner()" v-model.trim="roomCreateFeeInfo.condition.ownerName"
                                    class=" form-control form-control-sm">
                                <vc:create path="property/inputSearchRoomByOwner"></vc:create>
                            </div>
                            <div class="col-sm-2">
                                <button type="button" class="btn btn-primary btn-sm"
                                    v-on:click="_queryRoomCreateFeeMethod()">
                                    <vc:i18n name="查询" namespace="room"></vc:i18n>
                                </button>
                                <button type="button" class="btn btn-white btn-sm"
                                    v-on:click="_resetRoomCreateFeeMethod()">
                                    <vc:i18n name="重置" namespace="room"></vc:i18n>
                                </button>
                            </div>
                        </div>

                        <div class="">
                            <ul class="nav nav-tabs">
                                <li class="nav-item">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'simplifyRoomFee'}"
                                        v-on:click="changeTab('simplifyRoomFee')">
                                        <vc:i18n name="房屋费用" namespace="simplifyAcceptance"></vc:i18n>
                                    </a>
                                </li>
                                <li class="nav-item" v-if="roomCreateFeeInfo.ownerId">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'simplifyHisFee'}"
                                        v-on:click="changeTab('simplifyHisFee')">
                                        <vc:i18n name="缴费历史" namespace="simplifyAcceptance"></vc:i18n>
                                    </a>
                                </li>
                                <li class="nav-item" v-if="roomCreateFeeInfo.ownerId">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'simplifyOwnerRooms'}"
                                        v-on:click="changeTab('simplifyOwnerRooms')">
                                        <vc:i18n name="房屋" namespace="simplifyAcceptance"></vc:i18n>
                                    </a>
                                </li>
                                <li class="nav-item" v-if="roomCreateFeeInfo.ownerId">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'carDetailOwner'}"
                                        v-on:click="changeTab('carDetailOwner')">
                                        <vc:i18n name="业主" namespace="simplifyAcceptance"></vc:i18n>
                                    </a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'simplifyCallable'}"
                                        v-on:click="changeTab('simplifyCallable')">
                                        <vc:i18n name="催缴" namespace="simplifyAcceptance"></vc:i18n>
                                    </a>
                                </li>
                                <li class="nav-item" v-if="vc.hasPrivilege('502020092373407363')">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'simplifyFeeReceipt'}"
                                        v-on:click="changeTab('simplifyFeeReceipt')">
                                        <vc:i18n name="补打收据" namespace="simplifyAcceptance"></vc:i18n>
                                    </a>
                                </li>

                                <li class="nav-item">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'simplifyMeterWaterLog'}"
                                        v-on:click="changeTab('simplifyMeterWaterLog')">
                                        <vc:i18n name="抄表记录" namespace="simplifyAcceptance"></vc:i18n>
                                    </a>
                                </li>
                                <li class="nav-item" v-if="roomCreateFeeInfo.ownerId">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'ownerDetailAccount'}"
                                        v-on:click="changeTab('ownerDetailAccount')">
                                        <vc:i18n name="预存账户" namespace="simplifyAcceptance"></vc:i18n>
                                    </a>
                                </li>
                                <li class="nav-item" v-if="roomCreateFeeInfo.ownerId">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'ownerDetailAccountReceipt'}"
                                        v-on:click="changeTab('ownerDetailAccountReceipt')">
                                        <vc:i18n name="预存补打" namespace="simplifyAcceptance"></vc:i18n>
                                    </a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'simplifyRefundDeposit'}"
                                        v-on:click="changeTab('simplifyRefundDeposit')">
                                        <vc:i18n name="押金" namespace="simplifyAcceptance"></vc:i18n>
                                    </a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'feeDetailFeeRule'}"
                                        v-on:click="changeTab('feeDetailFeeRule')">
                                        <vc:i18n name="账单规则" namespace="feeDetail"></vc:i18n>
                                    </a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link"
                                        v-bind:class="{active:roomCreateFeeInfo._currentTab == 'feeDetailRuleBill'}"
                                        v-on:click="changeTab('feeDetailRuleBill')">
                                        <vc:i18n name="费用账单" namespace="feeDetail"></vc:i18n>
                                    </a>
                                </li>
                            </ul>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'simplifyRoomFee'">
                            <vc:create path="property/simplifyRoomFee"></vc:create>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'simplifyHisFee'">
                            <vc:create path="property/simplifyHisFee"></vc:create>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'simplifyOwnerRooms'">
                            <vc:create path="room/simplifyOwnerRooms"></vc:create>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'carDetailOwner'">
                            <vc:create path="car/carDetailOwner"></vc:create>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'simplifyCallable'">
                            <vc:create path="fee/simplifyCallable"></vc:create>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'simplifyFeeReceipt'">
                            <vc:create path="property/simplifyFeeReceipt"></vc:create>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'simplifyMeterWaterLog'">
                            <vc:create path="property/simplifyMeterWaterLog"></vc:create>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'ownerDetailAccount'">
                            <vc:create path="owner/ownerDetailAccount"></vc:create>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'ownerDetailAccountReceipt'">
                            <vc:create path="owner/ownerDetailAccountReceipt"></vc:create>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'simplifyRefundDeposit'">
                            <vc:create path="fee/simplifyRefundDeposit"></vc:create>
                        </div>

                        <div v-if="roomCreateFeeInfo._currentTab == 'feeDetailFeeRule'">
                            <vc:create path="fee/feeDetailFeeRule"></vc:create>
                        </div>
                        <div v-if="roomCreateFeeInfo._currentTab == 'feeDetailRuleBill'">
                            <vc:create path="fee/feeDetailRuleBill"></vc:create>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="property/deleteFee"></vc:create>
    <vc:create path="property/editFee"></vc:create>
    <vc:create path="property/roomCreateFeeAdd"></vc:create>
    <vc:create path="property/addMeterWater" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="property/addProxyFee" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="property/exportFeeImportExcel"></vc:create>
    <vc:create path="property/doImportCreateFee"></vc:create>
    <vc:create path="fee/downloadCollectionLetterOrder"></vc:create>
</div>